<template>
	<view class="friend-guide">
		<view v-if="current==0" @click="clickJump" class="friend-guide-box" style="background-image: url('../../../static/mine/friendguide/yaoqinghaoyou.png');">
			
		</view>
		<view v-if="current==1" @click="clickJump" class="friend-guide-box" style="background-image: url('../../../static/mine/friendguide/choujiangxiangqing.png');">
			
		</view>
		<view v-if="current==2" @click="clickJump" class="friend-guide-box" style="background-image: url('../../../static/mine/friendguide/jinruchoujiang.png');">
			
		</view>
		<view v-if="current==3" @click="clickJump" class="friend-guide-box" style="background-image: url('../../../static/mine/friendguide/changjianwenti.png');">
			
		</view>
	</view>   
</template>

<script>
	export default{
		data(){
			return{
				current:''
			}
		},
		onLoad(options) {
			this.current = options.item
		},
		methods:{
			clickJump(){
				uni.navigateBack()
			}
		}
	}
</script>

<style lang="less" scoped>
	.friend-guide{
		width: 100vw;
		height: 100vh;
		.friend-guide-box{
			width: 100%;
			height: 100%;
			background-repeat: no-repeat;
			background-size: 100% 100%;
		}
	}
</style>
